package com.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

@Data
@TableName("auth")
public class Auth {
    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    /**
     * 权限名称
     */
    @TableField
    private String name;
    /**
     * 权限字符串
     */
    @TableField
    private String permission;
    /**
     * 是否可用
     */
    @TableField
    private Integer status;
    /**
     * 创建时间
     */
    @TableField
    private LocalDateTime createDatetime;
    /**
     * 更新时间
     */
    @TableField
    private LocalDateTime updateDatetime;
}
